<?

session_start();

require("../../classCol.php");
require("../models/fetchers.php");

$COracle = new oracleDb;
$COracle->init($_SESSION["ORCL"], 
               $_SESSION["OPASS"],
               $_SESSION["SID"],
               _NO_COMMENT);

$srcDbModel = "MST_MODEL";
   
if($COracle->connect()){      
  
  fetchPropModel($COracle,
                 $srcDbModel,
                 $_POST["mdlName"],
                 $modelId,
                 $modelUnit);
                 
  echo  $modelId ."~". $modelUnit;
  
  $COracle->dc();
}else{
  
  return "****";
}
?>